package com.linzt.candy.wxmp.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.linzt.candy.wxmp.domain.WxMpUser;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * @Author linzt
 * @Date 2020/12/207:13 下午
 * @Description 微信公众号用户Mapper
 * @Version 1.0
 */
public interface WxMpUserMapper extends BaseMapper<WxMpUser> {

    @Select("select * from tb_wx_mp_user where openid=#{openid}")
    WxMpUser findByOpenid(@Param("openid") String openid);

}
